<template>
  <el-link type="primary" :underline="false" @click="showPDF">查看面单</el-link>
</template>

<script>
export default {
  name: 'ShippingLink',
  props: {
    file: {
      type: String,
      required: true
    },
  },
  methods: {
    showPDF(){
      window.open(this.file ,'_blank')
    },
  }
}
</script>

<style scoped lang="scss">

</style>
